package com.syq.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class CoachGoodAtCoursetype implements Serializable {
    private String cCtno;

    private String ctno;

    private String cno;

    private String cCtname;

    private String cCtstate;

    private String cCtdesc;

    private static final long serialVersionUID = 1L;

    public String getcCtno() {
        return cCtno;
    }

    public void setcCtno(String cCtno) {
        this.cCtno = cCtno;
    }

    public String getCtno() {
        return ctno;
    }

    public void setCtno(String ctno) {
        this.ctno = ctno;
    }

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getcCtname() {
        return cCtname;
    }

    public void setcCtname(String cCtname) {
        this.cCtname = cCtname;
    }

    public String getcCtstate() {
        return cCtstate;
    }

    public void setcCtstate(String cCtstate) {
        this.cCtstate = cCtstate;
    }

    public String getcCtdesc() {
        return cCtdesc;
    }

    public void setcCtdesc(String cCtdesc) {
        this.cCtdesc = cCtdesc;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CoachGoodAtCoursetype other = (CoachGoodAtCoursetype) that;
        return (this.getcCtno() == null ? other.getcCtno() == null : this.getcCtno().equals(other.getcCtno()))
            && (this.getCtno() == null ? other.getCtno() == null : this.getCtno().equals(other.getCtno()))
            && (this.getCno() == null ? other.getCno() == null : this.getCno().equals(other.getCno()))
            && (this.getcCtname() == null ? other.getcCtname() == null : this.getcCtname().equals(other.getcCtname()))
            && (this.getcCtstate() == null ? other.getcCtstate() == null : this.getcCtstate().equals(other.getcCtstate()))
            && (this.getcCtdesc() == null ? other.getcCtdesc() == null : this.getcCtdesc().equals(other.getcCtdesc()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getcCtno() == null) ? 0 : getcCtno().hashCode());
        result = prime * result + ((getCtno() == null) ? 0 : getCtno().hashCode());
        result = prime * result + ((getCno() == null) ? 0 : getCno().hashCode());
        result = prime * result + ((getcCtname() == null) ? 0 : getcCtname().hashCode());
        result = prime * result + ((getcCtstate() == null) ? 0 : getcCtstate().hashCode());
        result = prime * result + ((getcCtdesc() == null) ? 0 : getcCtdesc().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", cCtno=").append(cCtno);
        sb.append(", ctno=").append(ctno);
        sb.append(", cno=").append(cno);
        sb.append(", cCtname=").append(cCtname);
        sb.append(", cCtstate=").append(cCtstate);
        sb.append(", cCtdesc=").append(cCtdesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}